holding a mechanical device